<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<meta name="keywords" content="<?php echo $SEO['keyword'];?>">
<meta name="description" content="<?php echo $SEO['description'];?>">
<!--原始模板--------------------------------------------------------------------------------------------
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.min.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>jquery.sgallery.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>search_common.js"></script>
------------------------------------------------------------------------------------------------------->
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>reset.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>default_blue.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>HaiShu/reset.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>HaiShu/text.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>HaiShu/style.css" />
<!--slider-->
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH;?>HaiShu/galleryview.css" />
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/jquery-1.7.2.min.js"></script>
<!--slider-->
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/jquery.galleryview-1.1.js"></script>
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/jquery.timers-1.1.2.js"></script>
<!--tab-->
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/jquery.tools.min.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/DD_belatedPNG.js" ></script>
<script type="text/javascript">
DD_belatedPNG.fix('img');
</script>
<![endif]-->
<script language="javascript">
$(document).ready(function() {
			
			/* slider */
			$('#photos').galleryView({
			panel_width: 330,
			panel_height: 210,
			frame_width: 72,
			frame_height: 60
		    });
			
			/* tab */
			$(function() {
			$("ul.tabs").tabs("> .pane");
			});
			
});
		
/* menu */
function menuFix() {
 var sfEls = document.getElementById("nav").getElementsByTagName("li");
 for (var i=0; i<sfEls.length; i++) {
  sfEls[i].onmouseover=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseDown=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onMouseUp=function() {
  this.className+=(this.className.length>0? " ": "") + "sfhover";
  }
  sfEls[i].onmouseout=function() {
  this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), 
"");
  }
 }
}
window.onload=menuFix;
</script>
</head>
<body>
<div class="main">
<!--top start-->
<div class="top">
  <p><script type="text/javascript" src="<?php echo JS_PATH;?>HaiShu/datestr.js"></script></p>
</div>
<!--top over--> 
<!--header start-->
<div class="header">
  <div class="logo"><a href="<?php echo siteurl($siteid);?>/"><img src="<?php echo IMG_PATH;?>HaiShu/logo.jpg" /></a></div>
  <div class="headerRight">
    <ul class="headerNav">
      <li><a href="#">手机网站</a></li>
      <span>|</span>
      <li><a href="#">官方微博</a></li>
      <span>|</span>
      <li><a href="#">网站地图</a></li>
      <span>|</span>
      <li><a href="#">内网OA</a></li>
    </ul>
    <div class="clear"></div>
    <div class="weather"> <b>天气预报：</b>
      <marquee scrollAmount="3" width="300" onmouseover="stop()" onmouseout="start()">
      <strong>今天：</strong>宁波 阴 <span style="color:#cc3300">26℃</span>～<span style="color:#339900">18℃</span>微风&nbsp; <strong>明天：</strong>宁波 阵雨 <span style="color:#cc3300">23℃</span>～<span style="color:#339900">10℃</span>微风&nbsp; <strong>后天：</strong>宁波 阴 <span style="color:#cc3300">15℃</span>～<span style="color:#339900">10℃</span>微风&nbsp;
      </marquee>
    </div>
  </div>
</div>
<!--header over--> 
<!--menu start-->
<div class="menu">
  <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
  <ul id="nav">
    <li><a href="<?php echo siteurl($siteid);?>">首页</a></li>
    <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
    <li>
       <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=50ed8b4e63fc60f65a66dbeac537df84&action=category&catid=%24r%5Bcatid%5D&num=1&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'1',));}?>
      				
		     	  <?php $n=1;if(is_array($data)) foreach($data AS $v) { ?>
		     	  	 <?php $url=$v[url]?>
		     	  <?php $n++;}unset($n); ?>
                   <?php if($url=="") { ?>
		     	   <a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a>
		      	 <?php } else { ?>
		      	   <a href="<?php echo $url;?>"><?php echo $r['catname'];?></a>
		      	 <?php } ?>

                  <?php $url=""?>
		<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	
      <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7445196f866ae77953d9a7aa994ae720&action=category&catid=%24r%5Bcatid%5D&num=0&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>$r[catid],'siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'20',));}?>
      <ul>
      <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        <li><a href="<?php echo $r['url'];?>"><?php echo $r['catname'];?></a></li>
      <?php $n++;}unset($n); ?>
      </ul>
      <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    </li>
    <?php $n++;}unset($n); ?>
  </ul>
  <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
</div>
<!--menu over--> 